.list-ip {
    padding: 10px;
}

.subnet-visual {
    margin: 10px 20px 0;
    padding: 0;
}

section.subnet-visual {
    overflow-anchor: none;
    overflow-y: scroll;
    height: 700px;
}

.subnet-visual a {
    display: inline-block;
    width: 120px;
    text-align: center;
    padding: 5px 0;
    margin: 0 10px 10px 0px;
    border-radius: 0;
    color: #fff;
    background: rgba(20, 102, 26, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.2);
    font-weight: normal;
    text-decoration: none !important;
}

.subnet-visual.ipv6 a {
    font-size: 12px;
    letter-spacing: -0.2px;
    width: 240px;
    padding: 8px 5px;
}

.subnet-visual a:hover {
    background: rgba(20, 102, 26, 1);
    border: 1px solid rgba(0, 0, 0, 0.4);
}

.subnet-visual a.used {
    background: rgba(149, 10, 10, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.subnet-visual a.free {
    background: rgb(115, 192, 222);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #0f0f0f;
}

.subnet-visual a.has_allocated_and_used {
    background: rgb(84, 112, 198);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #0f0f0f;
}

.subnet-visual a.reserve {
    background: rgb(145, 204, 117);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #0f0f0f;
}

.subnet-visual a.not_allocated_but_used {
    background: rgb(250, 200, 88);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #0f0f0f;
}

.subnet-visual a.has_allocated_not_used {
    background: rgb(238, 102, 102);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #0f0f0f;
}

.subnet-visual a.self_not_used {
    background: rgb(59, 162, 110);
    border: 1px solid rgba(0, 0, 0, 0.2);
    color: #0f0f0f;
}

.subnet-visual a.used:hover {
    background: rgba(149, 10, 10, 1);
    border: 1px solid rgba(0, 0, 0, 0.4);
    color: #0f0f0f;
}

.subnet-visual .page {
    display: inline
}

#goto-input {
    padding: 5px 10px
}

#goto-button {
    padding: 7px 10px
}
